package cn.webrx;

public class ADemo {
    public static void main(String[] args) {
        A a = new A();
        System.out.println(a);

        B b = new B();
        System.out.println(b);
        System.out.println(b.tostring());
        System.out.println(b.toString());

        C c = new C();
        System.out.println(c);


            a = null;

        System.gc();
    }
}
